// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import App from './App'
import router from './router'
// 引入 echarts
import 'echarts'
import Echarts from 'vue-echarts'

Vue.component('Echarts', Echarts);
Vue.use(ElementUI)
Vue.config.productionTip = false
// config.productionTip 关闭vue 启动时的生产提示

/* eslint-disable no-new */
new Vue({
  el: '#app',
  render: (h) => h(App),
  router,
  components: { App },
  template: '<App/>',
}).$mount('#app')
